package com.neu.questionnaire_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xingle
 * @since 2022-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Choice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "choiceId", type = IdType.ID_WORKER_STR)
    private String choiceId;

    @TableField("toQuestion")
    private String toQuestion;

    @TableField("questionId")
    private String questionId;

    @TableField("choiceText")
    private String choiceText;

    private int quesCount;

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public int getQuesCount() {
        return quesCount;
    }
}
